package cn.hnc.checkapi.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;

public class ProductSel implements Serializable {
   private static final long serialVersionUID = 8333123692807129804L;
   private Integer beginTime;
   private Integer endTime;
   @JsonProperty(
      defaultValue = "0"
   )
   private Integer queryFlag;
   private String customerName;
   private String contractCode;
   private String macSN;
   private String ipcCode;
   private String macNO;
   @JsonProperty(
      defaultValue = "0"
   )
   private Integer page;
   private String servoId;
   private String servoModel;
   private String elecId;
   private String elecModel;

   public Integer getBeginTime() {
      return this.beginTime;
   }

   public Integer getEndTime() {
      return this.endTime;
   }

   public Integer getQueryFlag() {
      return this.queryFlag;
   }

   public String getCustomerName() {
      return this.customerName;
   }

   public String getContractCode() {
      return this.contractCode;
   }

   public String getMacSN() {
      return this.macSN;
   }

   public String getIpcCode() {
      return this.ipcCode;
   }

   public String getMacNO() {
      return this.macNO;
   }

   public Integer getPage() {
      return this.page;
   }

   public String getServoId() {
      return this.servoId;
   }

   public String getServoModel() {
      return this.servoModel;
   }

   public String getElecId() {
      return this.elecId;
   }

   public String getElecModel() {
      return this.elecModel;
   }

   public void setBeginTime(final Integer beginTime) {
      this.beginTime = beginTime;
   }

   public void setEndTime(final Integer endTime) {
      this.endTime = endTime;
   }

   public void setQueryFlag(final Integer queryFlag) {
      this.queryFlag = queryFlag;
   }

   public void setCustomerName(final String customerName) {
      this.customerName = customerName;
   }

   public void setContractCode(final String contractCode) {
      this.contractCode = contractCode;
   }

   public void setMacSN(final String macSN) {
      this.macSN = macSN;
   }

   public void setIpcCode(final String ipcCode) {
      this.ipcCode = ipcCode;
   }

   public void setMacNO(final String macNO) {
      this.macNO = macNO;
   }

   public void setPage(final Integer page) {
      this.page = page;
   }

   public void setServoId(final String servoId) {
      this.servoId = servoId;
   }

   public void setServoModel(final String servoModel) {
      this.servoModel = servoModel;
   }

   public void setElecId(final String elecId) {
      this.elecId = elecId;
   }

   public void setElecModel(final String elecModel) {
      this.elecModel = elecModel;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ProductSel)) {
         return false;
      } else {
         ProductSel other = (ProductSel)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label167: {
               Object this$beginTime = this.getBeginTime();
               Object other$beginTime = other.getBeginTime();
               if (this$beginTime == null) {
                  if (other$beginTime == null) {
                     break label167;
                  }
               } else if (this$beginTime.equals(other$beginTime)) {
                  break label167;
               }

               return false;
            }

            Object this$endTime = this.getEndTime();
            Object other$endTime = other.getEndTime();
            if (this$endTime == null) {
               if (other$endTime != null) {
                  return false;
               }
            } else if (!this$endTime.equals(other$endTime)) {
               return false;
            }

            label153: {
               Object this$queryFlag = this.getQueryFlag();
               Object other$queryFlag = other.getQueryFlag();
               if (this$queryFlag == null) {
                  if (other$queryFlag == null) {
                     break label153;
                  }
               } else if (this$queryFlag.equals(other$queryFlag)) {
                  break label153;
               }

               return false;
            }

            Object this$customerName = this.getCustomerName();
            Object other$customerName = other.getCustomerName();
            if (this$customerName == null) {
               if (other$customerName != null) {
                  return false;
               }
            } else if (!this$customerName.equals(other$customerName)) {
               return false;
            }

            label139: {
               Object this$contractCode = this.getContractCode();
               Object other$contractCode = other.getContractCode();
               if (this$contractCode == null) {
                  if (other$contractCode == null) {
                     break label139;
                  }
               } else if (this$contractCode.equals(other$contractCode)) {
                  break label139;
               }

               return false;
            }

            Object this$macSN = this.getMacSN();
            Object other$macSN = other.getMacSN();
            if (this$macSN == null) {
               if (other$macSN != null) {
                  return false;
               }
            } else if (!this$macSN.equals(other$macSN)) {
               return false;
            }

            label125: {
               Object this$ipcCode = this.getIpcCode();
               Object other$ipcCode = other.getIpcCode();
               if (this$ipcCode == null) {
                  if (other$ipcCode == null) {
                     break label125;
                  }
               } else if (this$ipcCode.equals(other$ipcCode)) {
                  break label125;
               }

               return false;
            }

            label118: {
               Object this$macNO = this.getMacNO();
               Object other$macNO = other.getMacNO();
               if (this$macNO == null) {
                  if (other$macNO == null) {
                     break label118;
                  }
               } else if (this$macNO.equals(other$macNO)) {
                  break label118;
               }

               return false;
            }

            Object this$page = this.getPage();
            Object other$page = other.getPage();
            if (this$page == null) {
               if (other$page != null) {
                  return false;
               }
            } else if (!this$page.equals(other$page)) {
               return false;
            }

            label104: {
               Object this$servoId = this.getServoId();
               Object other$servoId = other.getServoId();
               if (this$servoId == null) {
                  if (other$servoId == null) {
                     break label104;
                  }
               } else if (this$servoId.equals(other$servoId)) {
                  break label104;
               }

               return false;
            }

            label97: {
               Object this$servoModel = this.getServoModel();
               Object other$servoModel = other.getServoModel();
               if (this$servoModel == null) {
                  if (other$servoModel == null) {
                     break label97;
                  }
               } else if (this$servoModel.equals(other$servoModel)) {
                  break label97;
               }

               return false;
            }

            Object this$elecId = this.getElecId();
            Object other$elecId = other.getElecId();
            if (this$elecId == null) {
               if (other$elecId != null) {
                  return false;
               }
            } else if (!this$elecId.equals(other$elecId)) {
               return false;
            }

            Object this$elecModel = this.getElecModel();
            Object other$elecModel = other.getElecModel();
            if (this$elecModel == null) {
               if (other$elecModel != null) {
                  return false;
               }
            } else if (!this$elecModel.equals(other$elecModel)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ProductSel;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $beginTime = this.getBeginTime();
      result = result * 59 + ($beginTime == null ? 43 : $beginTime.hashCode());
      Object $endTime = this.getEndTime();
      result = result * 59 + ($endTime == null ? 43 : $endTime.hashCode());
      Object $queryFlag = this.getQueryFlag();
      result = result * 59 + ($queryFlag == null ? 43 : $queryFlag.hashCode());
      Object $customerName = this.getCustomerName();
      result = result * 59 + ($customerName == null ? 43 : $customerName.hashCode());
      Object $contractCode = this.getContractCode();
      result = result * 59 + ($contractCode == null ? 43 : $contractCode.hashCode());
      Object $macSN = this.getMacSN();
      result = result * 59 + ($macSN == null ? 43 : $macSN.hashCode());
      Object $ipcCode = this.getIpcCode();
      result = result * 59 + ($ipcCode == null ? 43 : $ipcCode.hashCode());
      Object $macNO = this.getMacNO();
      result = result * 59 + ($macNO == null ? 43 : $macNO.hashCode());
      Object $page = this.getPage();
      result = result * 59 + ($page == null ? 43 : $page.hashCode());
      Object $servoId = this.getServoId();
      result = result * 59 + ($servoId == null ? 43 : $servoId.hashCode());
      Object $servoModel = this.getServoModel();
      result = result * 59 + ($servoModel == null ? 43 : $servoModel.hashCode());
      Object $elecId = this.getElecId();
      result = result * 59 + ($elecId == null ? 43 : $elecId.hashCode());
      Object $elecModel = this.getElecModel();
      result = result * 59 + ($elecModel == null ? 43 : $elecModel.hashCode());
      return result;
   }

   public String toString() {
      return "ProductSel(beginTime=" + this.getBeginTime() + ", endTime=" + this.getEndTime() + ", queryFlag=" + this.getQueryFlag() + ", customerName=" + this.getCustomerName() + ", contractCode=" + this.getContractCode() + ", macSN=" + this.getMacSN() + ", ipcCode=" + this.getIpcCode() + ", macNO=" + this.getMacNO() + ", page=" + this.getPage() + ", servoId=" + this.getServoId() + ", servoModel=" + this.getServoModel() + ", elecId=" + this.getElecId() + ", elecModel=" + this.getElecModel() + ")";
   }
}
